package team.freeroom.hotelmanage.repository.entity;

import java.util.Date;

public class Checkin {
    /**
     * 入住 ID
     */
    private Long id;
    /**
     * 房间 ID
     */
    private Long roomId;
    /**
     * 房型 ID
     */
    private Long roomTypeId;
    /**
     * 入住价格
     */
    private Float checkinPrice;
    /**
     * 入住者姓名
     */
    private String name;
    /**
     * 身份证号
     */
    private String idCard;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 状态：0：入住中，1：已结算离店
     */
    private int status;
    /**
     * 入住日期
     */
    private String arriveDate;
    /**
     * 离店日期
     */
    private String leaveDate;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 备注
     */
    private String remark;

    public Checkin() {
    }

    public Checkin(Long roomId, Long roomTypeId, Float checkinPrice, String name, String idCard, String mobile, int status, String arriveDate, String leaveDate, Date createTime, String remark) {
        this.roomId = roomId;
        this.roomTypeId = roomTypeId;
        this.checkinPrice = checkinPrice;
        this.name = name;
        this.idCard = idCard;
        this.mobile = mobile;
        this.status = status;
        this.arriveDate = arriveDate;
        this.leaveDate = leaveDate;
        this.createTime = createTime;
        this.remark = remark;
    }

    public Checkin(Long id, Long roomId, Long roomTypeId, Float checkinPrice, String name, String idCard, String mobile, int status, String arriveDate, String leaveDate, Date createTime, String remark) {
        this.id = id;
        this.roomId = roomId;
        this.roomTypeId = roomTypeId;
        this.checkinPrice = checkinPrice;
        this.name = name;
        this.idCard = idCard;
        this.mobile = mobile;
        this.status = status;
        this.arriveDate = arriveDate;
        this.leaveDate = leaveDate;
        this.createTime = createTime;
        this.remark = remark;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRoomId() {
        return roomId;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }

    public Long getRoomTypeId() {
        return roomTypeId;
    }

    public void setRoomTypeId(Long roomTypeId) {
        this.roomTypeId = roomTypeId;
    }

    public Float getCheckinPrice() {
        return checkinPrice;
    }

    public void setCheckinPrice(Float checkinPrice) {
        this.checkinPrice = checkinPrice;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getArriveDate() {
        return arriveDate;
    }

    public void setArriveDate(String arriveDate) {
        this.arriveDate = arriveDate;
    }

    public String getLeaveDate() {
        return leaveDate;
    }

    public void setLeaveDate(String leaveDate) {
        this.leaveDate = leaveDate;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
